import { createRouter, createWebHistory } from 'vue-router'
import Dashboard from '@/views/Dashboard.vue'
import ConfigManager from '@/views/ConfigManager.vue'

const routes = [
    {
        path: '/',
        name: 'Dashboard',
        component: Dashboard
    },
    {
        path: '/config',
        name: 'ConfigManager',
        component: ConfigManager
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router